import re

str1 = '720    0072.7827.eac1    DYNAMIC     Gi1/0/12'

x = re.match('(\d{1,4})\s+ ([0-9a-f]{1,4}.[0-9a-f]{1,4}.[0-9a-f]{1,4}.[0-9a-f]{1,4})\s+ (\w+)\s+ (\w.*\d)',str1.strip()).groups()


print('-' * 80)
print(x)

print('{0:10} : {1}'.format('VLAN ID',x[0]))
print('{0:10} : {1}'.format('MAC',x[1]))
print('{0:10} : {1}'.format('Type',x[2]))
print('{0:10} : {1}'.format('Interface',x[3]))

"""
--------------------------------------------------------------------------------
('720', '0072.7827.eac1', 'DYNAMIC', 'Gi1/0/12')
VLAN ID    : 720
MAC        : 0072.7827.eac1
Type       : DYNAMIC
Interface  : Gi1/0/12
"""